<?php

class CView extends CTemplate {

	public function __construct() {
		parent::__construct(APP_PATH . '/view/');
	}

	public function display($name = METHOD_NAME) {
		echo $this->fetch(CONTROLLER_NAME . '_' . $name . '.php');
	}

}
